Type Definitions
The following type definitions are available globally.
-
A completion block for ride updates. Will contain either one of the parameters.
Declaration
Objective-C
typedef void (^HereSDKDemandRideUpdateBlock)( HereSDKDemandRide *_Nullable, HereSDKDemandRideStatusLog *_Nullable, HereSDKDemandRideLocation *_Nullable, NSError *_Nullable)Swift
typealias HereSDKDemandRideUpdateBlock = (HereSDKDemandRide?, HereSDKDemandRideStatusLog?, HereSDKDemandRideLocation?, Error?) -> VoidParameters
rideride updated
statusLogride status update
locationride location update
errorerror returned from ride updates
-
A completion block for ride cancellation Will contain either one of the parameters.
Declaration
Objective-C
typedef void (^HereSDKDemandRideCancellationBlock)( HereSDKDemandCancellationInfo *_Nullable, NSError *_Nullable)Swift
typealias HereSDKDemandRideCancellationBlock = (HereSDKDemandCancellationInfo?, Error?) -> VoidParameters
cancellationInfocancellation info for a ride
errorerror returned from cancellation request
Type Definitions Reference